package org.fastsyncer.manager.listener.mysql.binlog.impl.variable.user;

import org.fastsyncer.manager.listener.mysql.binlog.UserVariable;
import org.fastsyncer.manager.listener.mysql.common.util.ToStringBuilder;

public abstract class AbstractUserVariable implements UserVariable {
	protected final int type;

	public AbstractUserVariable(int type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this).toString();
	}

	public int getType() {
		return type;
	}
}
